onActivityResult
abstract fun onActivityResult(@NonNull activity: Activity, @IntRange(from = 0) requestCode: Int, resultCode: Int, @Nullable data: Intent): Boolean(source)
Determines whether the delegate should handle the permission request as part of FragmentActivity#onActivityResult(int, int, Intent)
. If this method returns true, it means that activity result is successfully handled by the delegate, and no further action is needed on this activity result.
Return
Whether the delegate has handled the activity result.
Parameters
activity
The target Activity.
requestCode
The integer request code originally supplied to startActivityForResult()
, allowing you to identify who this result came from.
resultCode
The integer result code returned by the child activity through its setResult()}.
data
An Intent, which can return result data to the caller (various data can be attached to Intent "extras").